home *** CD-ROM | disk | FTP | other *** search
/ Dos/V Magazine 1995 August 15 / CD [VMAG950815].bin / casper / casper.exe / casper.DXR / Internal_44_help.txt < prev    next >
Encoding:
Text File  |  1995-06-30  |  10.9 KB  |  154 lines

  1. Welome to dirOpener
  2. The best tool there is to unprotect macromedia director files in an easy way. 
  3.  
  4. What's new in this version?
  5. There's a lot of new functionality added to the program. This will basically make file processing even easier. If you don't want to use them the default settings are the same as they allways were.
  6.  
  7. There are three new preferences:
  8. - Automatically quit dirOpener after processing files.
  9.   Check the box on the preferences tab to automatically quit dirOpener after it is don processing 
  10.   files. Good to use with the new commandline file processing option.
  11. - Remember last input directory.
  12.   Normally the file select dialog will allways start in the dirOpener directory. Check this box on 
  13.   the preferences tab to make the file select dialog start with the last directory you opened files 
  14.   from. This also means the files you've processed via the commandline file processing option 
  15.   and via the drag and drop processing option.
  16. - Select your output directory.
  17.   As a default the files you have selected are saved into your dirOpener directory. Use the 
  18.   radiobuttons to change this.
  19.   dirOpener directory: choose this option to save the output files in the directory the dirOpener 
  20.   program is in Example:
  21.           dirOpener is in: C:\dirOpener\
  22.          Your input files are in: D:\filesToOpen\
  23.          Your output files will be in: C:\dirOpener\
  24.   Input directory: choose this option to save the output files in the same directory as the input 
  25.   file. Example:
  26.          dirOpener is in: C:\dirOpener\
  27.          Your input files are in: D:\filesToOpen\
  28.          Your output files will be in: D:\filesToOpen\
  29.   Custom directory: choose this option to save your output files to any directory you want. For 
  30.   it to work porperly you must select this option and enter a valid pathname in the box. You can 
  31.   also use the browse button to select a directory of you choice. Example:
  32.          dirOpener is in: C:\dirOpener\
  33.          Your input files are in: D:\filesToOpen\
  34.          Your output files will be in: E:\yourCustomDir\
  35.  
  36. There are two new keyboard shortcuts:
  37. - CTRL+O will switch to the mail tab and open the file select dialog
  38. - CTRL+W will open the dirOpener website
  39.  
  40. Commandline file processing option.
  41. dirOpener will now accept files via the commandline prompt. You could use this to batch process files. Open a dos prompt from you start menu and type:
  42.          C:\dirOpener\dirOpener300-207-1-PC.exe D:\filesToOpen\protected.dxr
  43. This is actually not the best use of this option. You can also use it to drop one or more files on the program's icon to have them processed. Use this together with the AutoQuit option to make file processing fast and easy.
  44.  
  45. Drag and drop file processing option.
  46. While dirOpener is running just make a selection of files in your windows exporer and drop them on the program window to have them processed.
  47.  
  48. And I updated the about screen :-)
  49.  
  50. What will dirOpener do?
  51. Every so often you might make a mistake and accidentally protect a file of which you don't have a backup copy. In this case dirOpener can help you. dirOpener will give you back all your original assets and score structure. If your project was mostly linear this tool will be a great help getting back your file.
  52.  
  53. Maybe you want to update a file from an earlier version of director to director 7.02. In that case open your unprotected movie or cast file in director. It will be transformed to a version 7.02 file without problems. Be aware though that some lingo has changed over the times, especially director 4 lingo.
  54.  
  55. Or sometimes you see a project and wonder 'how on earth did they do that?' dirOpener can help you get an insight into how somebody else has set up their files. You can learn an awfull lot from looking at other peoples' work. I'm not saying you should open up other peoples' files and steal their assets (what use are they anyway?). I'm saying: Look and Learn.
  56.  
  57. In short this program will take any (version 4 and up) director movie file(dir,dxr), shockwave file(dcr) or cast file(cst,cxt), and retreive from them, all cast members exept scripts and behaviours.
  58.  
  59. What won't dirOpener do?
  60. As said before, it won't retrieve any scripts/behaviours. As far as I know it's impossible to retrieve any scripts from a movie. 
  61.  
  62. The director engine that interprets the commands does not understand any of the lingo scripts you type in. Basically the lingo you type in is your interface to the computer. After you close the script window (or press the recompile button) the script is transformed into someting the dirapi.dll can interpret. Dirapi.dll is the dll that both director and your projector use to make things happen. The script is just left in the unprotected movie so you can make adjustments later. When you protect a movie all the scripts are deleted. Leaving the cast member references empty.
  63.  
  64. Also it will not open projector(exe) files. I looked into getting any usable information from the '.exe' files and have been unsuccessfull so far. 
  65.  
  66. UPDATE: Swifty tools actually made a tool (Xena Pro) to extract dxr files from exe, dll's and other files. You'll find it at: http://buraks.com/swifty/. He also has a lot of other tools to modify and work with flash files. Go check out his site it's worth it. Using his tool will give you dxr files that dirOpener can then open back up for you.
  67.  
  68. What does dirOpener need?
  69. The output is a director file, so I guess you need a copy of director The output is of no use if you do not have the program. The movie you are trying to open might use one or more xtras. If these are not present the movie will start complaining about them, so you must place them in an xtras folder together with the dirOpener program file. A good thing to do is to copy the entire director xtras folder and place it with the 'diropener exe' file. If the director file you are trying to open uses any other xtras look wether there's any xtras folder where you got them from and then copy those. If you don't see any xtras run the projector that goes with the files. WHILE it's open look in your windows temp directory (usually 'c:\windows\temp') for any xtras folder.
  70.  
  71. Director 4
  72. Director 4 doesn't use any xtras dummy!
  73.  
  74. Director 5
  75. In director 5 all xtras need to be in an external xtras folder. They cannot be packed into the projector.
  76.  
  77. Director 6
  78. Director 6 creates an Xtras folder in the folder you run the projector from, unless it's read-only media then the xtras folder will be created in your temp folder. This is actually known to cause problems. When you projector crashes the system, the xtras folder is left behind. If you then restart your machine and run the projector again it will claim not to have found ome or more of the xtras it needs, this is because when the projector tried to unpack them to your temp dir 
  79. it allready found an xtras folder present and sort of got confused.
  80.  
  81. Director 7
  82. Director 7 creates a new subdir in your temp folder. Starting with 'Tempfolder.aaa', next 'Tempfolder.aab' if 'Tempfolder.aaa' already exists, and so on. Usually this will be something like:  C:\windows\temp\tempfolder.aaa    in there you'll find all the xtras used by the movie. Make those read-only while the projector is still running, and you're done. Closing the projector will automatically delete any temporary files it created exept for the xtras that you made read-only. Copy them to an xtras folder with your dirOpener.exe file. Emptying your temporary files folder beforehand will make the search a lot easier. That was about time anyway wasn't it?
  83.  
  84. Director 8
  85. See director 7.
  86.  
  87. How does dirOpener work?
  88. The program works really simple. Anyone can do it. The core of the program can be written in 2 lines of lingo. The program has just been jazzed up to make the file selection easier and it logs some progress.
  89.  
  90. It works like this: you select a movie, which is opened as a movie in a window. This movie is then saved to a different file using the saveMovie command. The saved movie is then an unprotected director movie. Directors saveMovie command doesn't check 
  91. wether the movie you are trying to save is protected or not.
  92.  
  93. For casts the fileName of an existing attatched cast file are changed to the selected file which is then saved to a different file using the save castLib command. The program also converts lower version(that is director 4.00 and up) files to director 7 or 8 in one go.
  94.  
  95. Hidden features
  96. Not really related to the program but nice to know anyway:
  97.  
  98. Cursors:
  99. The about movie in a window(help > about) uses a hand cursor. This is no bitmap, It is a cursor internal in director 7.00 and up. This and a lot of other cursors can be found in director 7.00 and up, works on pc and mac. here's the list:
  100. -1 = normal cursor
  101. 1 = I-beam cursor, text entry/editing
  102. 2 = crosshair cursor
  103. 3 = thick cross cursor
  104. 4 = hourglass
  105. 200 = no cursor at all
  106. 254 = small crosshair with question mark
  107. 256 = pen tool as in paint window
  108. 257 = square, as eraser in painto window
  109. 258 = crosshair as set centerpoint in paint window
  110. 259 = paintbucket as in paint window
  111. 260 = hand with five fingers out, as in paint window
  112. 261 = crosshair as brush in paint window
  113. 271 = crosshair with point in middle
  114. 272 = lasso
  115. 280 = hand wih one finger out (point)
  116. 281 = eyedropper
  117. 284 = drag vertically
  118. 285 = drag hoizontally
  119. 286 = double crosshair
  120. 290 = hand grabbing
  121. 291 = hand grabbing with stop sign in it
  122. 292 = hand grabbing with plus sign in it 
  123. 293 = black arrow with white border
  124. 294 = rotate cursor
  125. 295 = skew cursor
  126. 297 = move up/down
  127. 298 = move diagonally bottom left top right
  128. 299 = move diagonally bottom right top left
  129. 300 = strange down arrow
  130. 301 = airbrush
  131. 302 = magnifying glass with a plus sign in it
  132. 303 = magnifying glass with a minus sign in it
  133. 304 = magnifying glass with no sign in it
  134. That's exactly 28 cursors more than the people at macromedia tell you about. And you can use them in director projects for windows. you've paid for them, you might as well use them.
  135.  
  136. Miaw in any shape you want.
  137. There is a very special type of border that you can use in director 7.02. I haven't tested it in director 8 yet. It won't work in director 7.00, get the update. Basically you create a one bit bitmap cast member, who's shape will be the new shape for the miaw. The command to get it all working would look like this:
  138.        Set the windowType of window "about" to member "shape"
  139. Where member "shape" would be the bitmap member you have created.
  140. The results will ONLY show in a projector, not in authoring mode.
  141.  
  142. The getPixel command
  143. Still hidden in director 7.00 and 7.02 but available in director 8.
  144. A way to call up the color number of a specific pixel of a bitmap cast member.
  145.       newColor = getPixel (member "palette", 100, 100)
  146. It's best to work with 8 bit cast members if you want to get any sensible information back from this command. In director 7 the command looks at the bitmap with the null point in the bottom right, in director 7.02 this has been changed to top left.
  147.  
  148. About dirOpener
  149. dirOpener
  150. Copyright┬⌐ 2000,2001,2001 J-roen
  151. For the latest version check: http://www.j-roen.net/dirOpener
  152. Any tips/enhancements, comments and/or bug reports, mail to: dirOpener@j-roen.net
  153.  
  154. Knowledge = Power